<?php
include_once("software.php");

$_utiles = new utiles();
if (isset($_POST['borrar_bitacora']) && $_POST['borrar_bitacora'] == "1") {
    $deleteSQL = "DELETE FROM Bitacora";
    mysql_select_db(DB_NAME, CONEXION);
    $Result1 = mysql_query($deleteSQL, CONEXION)  or trigger_error(mysql_error(),E_USER_ERROR);
    $_utiles->bitacora("bitacora","0",'borrar');
    header('Location: bitacora.php');
}
?>
